<template>

  <div class="part-one part-four part-five">
    <div class="head">
      <div class="topZi">
        <div class="date font1">{{ time }}</div>
        <div class="title font1">四川省网上群众工作平台月报</div>
        <div class="department">川网传媒·麻辣社区 | 群众呼声 - 四川省网上群众工作平台</div>
      </div>
    </div>
    <div class="mybody">
      <div class="top-img-box">
        <img src="../../assets/image/mybody-top.png">
      </div>
      <div class="main">
        <div class="title">
          群众呼声
          <span class="desc">· 领域留言详情</span>
        </div>
        <div class="main-list">
          <div class="main-item" v-for="(item,idx) in lingyu2Data">
            <div class="name-wrap" :style="`color:${color[idx]}`">
              <div class="name">{{ item.name }}</div>
              <div class="count">{{ item.fupcount }}件</div>
            </div>
            <div class="area-wrap">
              <div  v-for="(v,k) in item.data">{{ v.name }}</div>
            </div>
          </div>
        </div>

      </div>
    </div>
    <div class="footer">
      <div class="background-img-box">
        <img src="../../assets/image/footer-background.png" alt="麻辣社区">
      </div>
      <div class="logo-box">
        <img src="../../assets/image/footer-LOGO.png" alt="麻辣社区">
      </div>
    </div>
  </div>

</template>
<script>

export default {
  name: 'Shizhou',
  data() {
    return {
      color:['#5794FE','#86ECEC','#F1A775','#F7D48B','#93A3F8','#80E4BC','#536DF4','#86ECEC'],
    }
  },
  props: ['lingyu2Data','time','time2'],
  methods: {},
  mounted() {

  }
}
</script>
<style lang="scss" scoped>
@import '../../assets/fonts.css';
@import '../../assets/yuebao/css.css';
@import '../../assets/yuebao/media.css';
.main .lable .name{
  font-size:20px;
  width: 15%;
  &.fsmall{
    font-size:16px;
  }
}
.main .lable .anti{
  height:25px;
  line-height: 25px;
  border-radius: 25px;
}

.fontleft1 {
  height: 25px;
  position: relative;
  span {
    position: absolute;
    left: -35px;
    color: #4d8df6;
  }
}
.fontleft2 {
  height: 25px;
  position: relative;
  span {
    position: absolute;
    right: -35px;
    color: #ec6e2f;
  }
}
.main-list {
  padding:0 20px;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  .main-item {
    width: 25%;
    padding-top: 30px;
    .name-wrap {
      color: #000;
      font-size: 23px;
      font-weight: bold;
      line-height: 1.3;
      text-align: center;
    }
    .area-wrap {
      margin-top: 6px;
      color: #000;
      font-size: 15px;
      /* font-weight: bold; */
      line-height: 1.5;
      text-align: center;
    }
  }
}
</style>
